<script>
	export default {
		onLaunch: function() {
			if(uni.getStorageSync('cardList').length>0){
				uni.setTabBarBadge({
					index: 2,
					text: ''+ uni.getStorageSync('cardList').length
				})
			}
			
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		
		methods:{
			
		}
	}
</script>

<style lang="scss">
@import "uview-ui/index.scss";
	html,body,#app{
		height: 100%;
	}
	.flexCloC{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.flexRowC{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
</style>
